package dao.impl;

import dao.UserDao;
import entity.User;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

@Component("userDao")
public class UserDaoImpl implements UserDao {
    private static final Logger log = Logger.getLogger(UserDaoImpl.class);
    @Override
    public void save(User user) {
        System.out.println("保存用户信息到数据库");
        log.info("保存用户信息到数据库");
    }
}
